package com.tj.collection.db.dao.impl;

import com.fqgj.common.base.AbstractBaseMapper;
import com.tj.collection.db.dao.ClRepayFlowDao;
import com.tj.collection.db.entity.ClRepayFlowEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2019-09-03
 * Time: 14:54
 */
@Repository
public class ClRepayFlowDaoImpl extends AbstractBaseMapper<ClRepayFlowEntity> implements ClRepayFlowDao {

    @Override
    public ClRepayFlowEntity selectByRepaymentFlowNo(String repaymentFlowNo) {
        Map<String, Object> map = new HashMap<>();
        map.put("repaymentFlowNo", repaymentFlowNo);
        return getSqlSession().selectOne(this.getStatement("selectByRepaymentFlowNo"), map);
    }
}
